package com.harzone.commons.search.result;

import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * 
 * @author ls
 * 2014年11月25日上午9:18:21
 */
public interface SearchResultSet extends ResultSet{

	 /**
     * Retrieves the value of the designated column in the current row
     * of this <code>ResultSet</code> object as
     * an <code>int</code> in the Java programming language.
     *
     * @param columnLabel the label for the column specified with the SQL AS clause.  If the SQL AS clause was not specified, then the label is the name of the column
     * @return the column value; if the value is SQL <code>NULL</code>, the
     * value returned is <code>0</code>
     * @exception SQLException if the columnLabel is not valid; 
     * if a database access error occurs or this method is 
     *            called on a closed result set
     * 请使用getInt(String columnLabel,boolean isGroupBy)
     */
//	@Deprecated 
//    int getInt(String columnLabel) throws SQLException;
//    
	/**
	 * 此方法用于获取聚合函数结果
	 * @author ls
	 * 2014年11月25日上午8:59:06 
	 * @param columnLabel
	 * @param isGroupBy
	 * @return
	 * @throws SQLException
	 */
//	public int getInt(String columnLabel,boolean isGroupBy) throws SQLException;
}
